package thread;

import java.util.Timer;
import java.util.TimerTask;

/*
 * @author zzr
 * @date: 2025/04/17  23:19
 * @description:
 */
public class Thread21 {
    public static void main(String[] args) {
        Timer timer = new Timer();
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println("hello Timer");
            }
        }, 5000);
    }
}
